package com.yunxin.core.infra.persistence.entity.product;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

/**
 * 产品投放配置表
 *
 * @author zero°
 * @since   2023-12-07
 */
public class ProductThrowInConfigDOWithBLOBs extends ProductThrowInConfigDO implements Serializable {
    /**
     * 投放过滤城市名称(,连接)
     */
    private String placementRegion;

    /**
     * 投放时段
     */
    private String placementPeriod;

    /**
     * uv联登产品个人授权协议
     */
    private String userProtocol;

    /**
     * 是否联登
     */
    @Schema(description = "是否联登 1联登 2不联登")
    private Integer isLogin;

    public String getUserProtocol() {
        return userProtocol;
    }

    public void setUserProtocol(String userProtocol) {
        this.userProtocol = userProtocol;
    }

    @Override
    public Integer getIsLogin() {
        return isLogin;
    }

    @Override
    public void setIsLogin(Integer isLogin) {
        this.isLogin = isLogin;
    }

    /**
     * 前置产品id
     */
    @Schema(description = "前置产品id")
    private Long beProductId;

    public Long getBeProductId() {
        return beProductId;
    }

    public void setBeProductId(Long beProductId) {
        this.beProductId = beProductId;
    }

    private static final long serialVersionUID = 1L;

    public String getPlacementRegion() {
        return placementRegion;
    }

    public void setPlacementRegion(String placementRegion) {
        this.placementRegion = placementRegion;
    }

    public String getPlacementPeriod() {
        return placementPeriod;
    }

    public void setPlacementPeriod(String placementPeriod) {
        this.placementPeriod = placementPeriod;
    }
}